RISC-V /Debug /Abstract Command (command)

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as Abstract Command (command)

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0control0cmdtype

Description

Writes to this register cause the corresponding abstract command to be executed.

Writing this register while an abstract command is executing causes {abstractcs-cmderr} to become 1 (busy) once the command completes (busy becomes 0).

If {abstractcs-cmderr} is non-zero, writes to this register are ignored.

đź“Ś NOTE

{abstractcs-cmderr} inhibits starting a new command to accommodate debuggers that, for performance reasons, send several commands to be executed in a row without checking {abstractcs-cmderr} in between. They can safely do so and check {abstractcs-cmderr} at the end without worrying that one command failed but then a later command (which might have depended on the previous one succeeding) passed.

Fields

control

This field is interpreted in a command-specific manner, described for each abstract command.

cmdtype

The type determines the overall functionality of this abstract command.

Links

() ()